package com.scs.application.modules.device.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scs.application.core.mapper.IBaseMapper;
import com.scs.application.modules.device.dto.DeviceWorkItemSelectDto;
import com.scs.application.modules.device.entity.DeviceWorkItem;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 *  设备工作明细表 mapper接口
 */
public interface DeviceWorkItemMapper extends IBaseMapper<DeviceWorkItem> {
    /**
     * 查询耗材信息（含耗材库存总量）
     * @return
     */
    Page<DeviceWorkItemSelectDto> pageSelect(IPage page, @Param(Constants.WRAPPER) QueryWrapper<DeviceWorkItemSelectDto> wrapper, @Param("params") Map<String,Object> params);
}